package com.yloveg.dao;

import java.util.List;
import java.util.Map;

import com.yloveg.entity.ShopCart;
import com.yloveg.entity.ShopCartExtend;

public interface ShopCartMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ShopCart record);

    int insertSelective(ShopCart record);

    ShopCart selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ShopCart record);

    int updateByPrimaryKey(ShopCart record);
    
    List<ShopCart> selectByTerm(ShopCart record);
    
    List<ShopCartExtend> selectExtendByTerm(Map<String,Object> map);
}